package com.cjl.multi_thread;

import com.cjl.generic.A;

import java.util.concurrent.RecursiveTask;

public class JoinTest {
    public static void main(String[] args) {


        AThread aThread = new AThread();
        BThread bThread = new BThread();


    }


    static class AThread extends Thread{
        @Override
        public void run() {
            System.out.println("AThread.run");
        }

    }

    static class BThread extends Thread{
        @Override
        public void run() {
            System.out.println("BThread.run");
        }
    }
}
